package com.william.jdbcplus.generator.entity;

import com.william.jdbcplus.common.annotation.Table;
import com.william.jdbcplus.common.annotation.TableColumn;
import com.william.jdbcplus.common.annotation.TableId;
import com.william.jdbcplus.common.entity.Entity;
import com.william.jdbcplus.common.enums.IdType;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * excel_report_db_param
 *
 * @author niliwei
 * @date 2020-11-23 10:11:00
 */
@Data
@NoArgsConstructor
@Table(value = "excel_report_db_param", remarks = "excel_report_db_param")
public class ExcelReportDbParam implements Entity {

    @TableId(value = "id", remarks = "", type = IdType.ATOMIC, size = 36)
    private String id;

    @TableColumn(value = "report_head_id", remarks = "动态报表ID", size = 36, nullable = false)
    private String reportHeadId;

    @TableColumn(value = "param_name", remarks = "参数字段", size = 32, nullable = false)
    private String paramName;

    @TableColumn(value = "param_txt", remarks = "参数文本", size = 32)
    private String paramTxt;

    @TableColumn(value = "param_value", remarks = "参数默认值", size = 32)
    private String paramValue;

    @TableColumn(value = "order_num", remarks = "排序", size = 10)
    private Integer orderNum;

    @TableColumn(value = "create_by", remarks = "创建人登录名称")
    private String createBy;

    @TableColumn(value = "create_time", remarks = "创建日期")
    private Date createTime;

    @TableColumn(value = "update_by", remarks = "更新人登录名称")
    private String updateBy;

    @TableColumn(value = "update_time", remarks = "更新日期")
    private Date updateTime;
}